﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shiny.SmartTravel.Data.Local
{
    /// <summary>
    /// Exceptions by local data
    /// </summary>
    public class LocalDataException : Exception
    {
        /// <summary>
        /// Empty ctor.
        /// </summary>
        public LocalDataException() : base() { }

        /// <summary>
        /// Specify the message of LocalDataExceptions
        /// </summary>
        /// <param name="message"></param>
        public LocalDataException(string message) : base(message) { }

        /// <summary>
        /// Specify the message of LocalDataExceptions and its inner Exceptions
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public LocalDataException(string message, Exception innerException) : base(message, innerException) { }
    }
}
